package com.knowif.pojo;

import java.util.Date;

import org.springframework.validation.annotation.Validated;

@Validated
public class UserOrderFlow {
    private Integer id;

    private Date createTime;

    private Integer isSuccess;

    private String operation;

    private Double payMoney;

    //0表示普通订单 1表示快问订单
    private Integer payType;

    private Integer status;

    private Integer userOrderId;

    private String wechatTradeNo;
    
    
    private UserOrder userOrder;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(Integer isSuccess) {
        this.isSuccess = isSuccess;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation == null ? null : operation.trim();
    }

    public Double getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(Double payMoney) {
        this.payMoney = payMoney;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUserOrderId() {
        return userOrderId;
    }

    public void setUserOrderId(Integer userOrderId) {
        this.userOrderId = userOrderId;
    }

    public String getWechatTradeNo() {
        return wechatTradeNo;
    }

    public void setWechatTradeNo(String wechatTradeNo) {
        this.wechatTradeNo = wechatTradeNo == null ? null : wechatTradeNo.trim();
    }

	public UserOrder getUserOrder() {
		return userOrder;
	}

	public void setUserOrder(UserOrder userOrder) {
		this.userOrder = userOrder;
	}

	@Override
	public String toString() {
		return "UserOrderFlow [id=" + id + ", createTime=" + createTime + ", isSuccess=" + isSuccess + ", operation="
				+ operation + ", payMoney=" + payMoney + ", payType=" + payType + ", status=" + status
				+ ", userOrderId=" + userOrderId + ", wechatTradeNo=" + wechatTradeNo + ", userOrder=" + userOrder
				+ "]";
	}
	
    
}